package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.reggie.domain.Category;
import com.itheima.reggie.domain.Employee;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper extends BaseMapper<Category> {


    List<Category> findAll();

    Integer save(Category category);


    Integer delete(long id);

    List<String> findCategory(Integer type);
}
